﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VikingArcade_v2._0
{
    public class InterfaceFactory
    {
        public static UserInterface CreateUserInterface(GameState gameState)
        {
            switch (gameState)
            {
                case GameState.Initializing:
                    return new InitializingUserInterface();
                case GameState.Menu:
                    return new MenuUserInterface();
                case GameState.Mission:
                    return new MissionUserInterface();
                default:
                    return new UserInterface();
            }
        }
    }
}
